<%-- 
    Document   : changePassword
    Created on : Oct 10, 2013, 12:38:51 AM
    Author     : HANHXINH
--%>


<%@page import="org.apt.matrimony.methods.selects"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page import="org.apt.matrimony.beans.AccountBasicBean"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <!-- Mirrored from www.maxwebdesign.asia/demo/numinousmatch/contactus.php by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 20 Sep 2013 17:08:31 GMT -->
    <head>
        <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

        <title>Matrimonymatch.com -No 1 wedding-matrimonial-matrimony-kerala-christian brides-hindu brides</title>
        <link href="css/template.css" rel="stylesheet" type="text/css" media="all" />
        <!-- JS FOR SuperFish DropDown Menu ############################# -->
        <link href="css/dropDownMenu/superfish.css" rel="stylesheet" type="text/css" media="all" />
        <script type="text/javascript" src="scripts/jquery1.6.2_production.js"></script>

        <link href="css/regis_mem_home.css" rel="stylesheet" type="text/css" />


        <script type="text/javascript" src="chat/js/jquery.js"></script>

        <script type="text/javascript" src="chat/js/chat.js"></script>
        <!-- END CHAT FILES -->
        <script type="text/javascript" src="scripts/superfish.js"></script>

        <script type="text/javascript" src="js/fancyzoom.min.js"></script>

        <script language="javascript" src="js/hide.js"></script>
        <link href="css/profiles.css" rel="stylesheet" type="text/css" />


    </head>

    <body>
        <div id="wrapper">

            <!-- HEADER STARTS HERE ###################################################  -->
            <jsp:include page="header.jsp"></jsp:include>
                <!-- HEADER ENDS HERE ###################################################  -->

                <!-- CONTENT AREA STARTS HERE ###################################################  -->

                <!-- BREADCRUMBS STARTS HERE #####################################  -->
                <div id="breadcrumb">
                    <ul class="breadcrumbs">
                        <li class="left"></li>
                        <li class="center">
                            <div id="breadcrumb_text">You are Here: <span class="pathway"> <a href=".html">Home</a> <img alt="" src="images/icons/arrow_breadcrumbs.png"/>Contact Us</span> </div>
                        </li>
                        <li class="right"></li>
                    </ul>
                </div>
                <!-- BREADCRUMBS ENDS HERE ########################################  -->

                <div id="content_area">
                    <div id="inner_left">
                        <div id="inner_left_header"></div>
                        <div id="inner_left_content">
                            <a href="registration1.jsp" class="btn_registerfree"><img src="images/btn_registerfree.gif" width="136" height="46" alt="register free" /></a>
                            <!--Left Banner Area1 starts here-->
                            <div class="innerleft_banner"><a href="#"><img src="images/innerleft_banner.jpg" width="228" height="399" alt="advertisement" /></a></div>
                            <!--Left Banner Area1 ends here-->

                            <!-- Success Story Starts Here-->
                        <jsp:include page="storytemplate.jsp"></jsp:include>
                        <!-- Success Story Ends Here-->

                    </div>
                    <div id="inner_left_footer"></div>
                </div>
                <div id="inner_right">
                    <!-- BUSINESS PAGE CONTENT STARTS HERE ############################################ -->
                    <a name="top" id="top"></a>
                    <div class="profile_block">
                        <div class="header">
                            <h2 class="float_left title"> <span class="black" style="color:#333;"><strong>Change Password Information</strong></span></h2>
                        </div>
                        <div class="body">
                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tbl_profiledetails">
                                <tr>
                                    <td rowspan="4" style="width: 170px"><input type="image" src="images/password_icon.png" style="width: 150px; height: 180px" /></td>

                                    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <tr>

                                                    <td colspan="3" align="left" ><div align="left">
                                                            <h3 class="hline3"><strong><br />
                                                                    Change Password</strong></h3>
                                                        </div>
                                                        <div align="left"></div></td>
                                                </tr>

                                                <div id="bubble_tooltip">
                                                    <div class="bubble_top"><span></span></div>
                                                    <div class="bubble_middle"><span id="bubble_tooltip_content"></span></div>
                                                    <div class="bubble_bottom"></div>
                                                </div>
                                                <form id="changePass" name="changePass" action="doChangePassword">
                                                    <tr class="hline2">
                                                        <td ><div align="left">Username </div></td>
                                                        <td colspan="2" ><div align="left" style="width: 120px">
                                                                <input disabled="true" name="txtUsername" type="text"  value="<%=request.getParameter("username")%>" class="textbox1"  id="txtName" size="40" maxlength="40" style="width:219px;" />
                                                            </div></td>

                                                    </tr>

                                                    <tr class="hline2">
                                                        <td ><div align="left">  Password - Old </div></td>
                                                        <td colspan="2" ><div align="left" style="width: 120px">
                                                                <input name="old_pass" id="old_pass" value=""  size="40" maxlength="40"  type="password" class="textbox1" style="width:219px;" />
                                                                <span id="msg" > </span>
                                                            </div></td>
                                                    </tr>
                                                    <tr class="hline2">
                                                        <td ><div align="left">  New - Password </div></td>
                                                        <td colspan="2" ><div align="left" style="width: 120px">
                                                                <input id="new_pass" name="new_pass" value="" size="40" maxlength="40"  type="password" class="textbox1" style="width:219px;" />
                                                                <span id="msg" > </span>
                                                            </div></td>
                                                    </tr> <tr class="hline2">
                                                        <td ><div align="left">  Confirm - Password </div></td>
                                                        <td colspan="2" ><div align="left" style="width: 120px">
                                                                <input id="confirm_pass" name="confirm_pass" value=""  size="40" maxlength="40"  type="password" class="textbox1" style="width:219px;" />
                                                                <span id="msg" > </span>
                                                            </div></td>
                                                    </tr>

                                            </tr> 
                                            <tr class="hline2">
                                                <td ></td>
                                                <td>
                                                    <div style="width: 80px;height: 30px; float: left"> <input class="square-orange" style="font-size: 13px;width:60px; height: 27px; padding: 4px 0px 0px 12px; color: white" name="submit" type="image" value="Save" alt="Save" onclick="return validateForm();"/></div>
                                                    <div style="width: 80px;height: 30px; float: left">   <input class="square-orange" style="font-size: 13px;width:60px; height: 27px; padding: 4px 0px 0px 12px; color: white" name="Cancel" type="image" value="Cancel" alt="Cancel" onclick="history.back()"/></div>
                                                        

                                                </td>
                                            </tr>
                                            </form>
                                            </tr>
                                        </table>
                                        <br></td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                </tr>
                            </table>
                        </div>
                        <div class="footer"> <a href="#top" class="btn_goTop" style="margin-left:10px;">Go Top</a> </div>
                    </div>
                    <div class="banner_h_std"><img src="images/H_STD_BANNER.gif" width="468" height="80" /></div>
                    <br />
                    <!-- BUSINESS PAGE CONTENT ends HERE ############################################ -->
                </div>
            </div>
            <!-- CONTENT AREA ENDS HERE ###################################################  -->
        </div>
        <script>
            function validateForm()  {
                with(document.changePass){
                    if(old_pass.value==""){
                        alert("Input Old-Password");
                        old_pass.forcus();
                        return false;
                    }
                    if(new_pass.value==""){
                        alert("Input New-Password");
                        new_pass.forcus();
                        return false;
                    }
                    if(confirm_pass.value==""){
                        alert("Input Confirm-Password");
                        confirm_pass.forcus();
                        return false;
                    }
                    if(old_pass.value==new_pass.value){
                        alert("Old Pass != New Pass");
                        confirm_pass.forcus();
                        return false;
                    }
                    if(new_pass.value != confirm_pass.value){
                        alert("Confirm Pass not Correct!!!");
                        confirm_pass.value="";
                        confirm_pass.forcus();
                        return false;
                    }
                }
            
            }
        
            

        </script>
        </script>
    </body>
</html>

